package com.shanjupay.merchant.service;


import com.shanjupay.common.domain.BusinessException;

/*
* 获取验证码
* @param phone
* @return
* */
public interface SmsService {

    String sendMsg(String phone) throws BusinessException;
    //校验验证码 需要提供两个参数 生成验证码生成key 和生成的验证码
    void checkVerifiyCode(String verifiyKey,String verifiyCode) throws BusinessException;
}
